package com.yejq.web.model;

import java.util.Arrays;

public class RequestMapping {

	private String url;
	private String requestMethod;
	private String className;
	private String methodName;
	private Class<?>[] parameterTypes;
	private String[] paramNames;
	
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public String getMethodName() {
		return methodName;
	}
	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}
	public String getRequestMethod() {
		return requestMethod;
	}
	public void setRequestMethod(String requestMethod) {
		this.requestMethod = requestMethod;
	}
	public Class<?>[] getParameterTypes() {
		return parameterTypes;
	}
	public void setParameterTypes(Class<?>[] parameterTypes) {
		this.parameterTypes = parameterTypes;
	}
	@Override
	public String toString() {
		return "RequestMapping [url=" + url + ", requestMethod=" + requestMethod + ", className="
				+ className + ", methodName=" + methodName + ", parameterTypes="
				+ Arrays.toString(parameterTypes) + "]";
	}
	public String[] getParamNames() {
		return paramNames;
	}
	public void setParamNames(String[] paramNames) {
		this.paramNames = paramNames;
	}
	
	
}
